package com.baidu.shop.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Description:
 * @ClassName: PayInfoDTO
 * @Author: User
 * @date: 2020.10.22 15:04
 * @version: 1.0
 */
@ApiModel(value = "支付数据传输")
@Data
public class PayInfoDTO {
    @ApiModelProperty(value = "订单编号", example = "1")
    @NotNull(message = "订单编号不能为空")
    private Long orderId;

    @ApiModelProperty(value = "总金额,实际金额(元$)")
    private String totalAmount;

    @ApiModelProperty(value = "订单名称")
    private String orderName;

    @ApiModelProperty(value = "订单描述")
    private String description;
}
